
import request from "@/utils/request";

/**
 * 客户列表
 * @param query 查询参数
 * @returns {AxiosPromise} 查询结果
 */
export function listErpCustomer(query){
  return request({
    url: '/btrh/customerMap/list',
    method: 'get',
    params: query
  })
}

export function updateErpCustomer(data){
  return request({
    url: '/btrh/customerMap',
    method: 'PUT',
    data: data
  })
}
